package com.qf.POJO;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@TableName("users")
public class Users {

  private long userId;
  private String userName;
  private String userPwd;
  private String realName;
  private String phoneNumber;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
  private Date createTime;
  private String enable;
  private String roleStr;
  private String perStr;
}
